package com.ludomancy.starwave;

import java.util.Comparator;

public class ShipTypeComparator implements Comparator
{
	public int compare(Object o1, Object o2)
	{
		Ship ship1 = (Ship) o1;
		Ship ship2 = (Ship) o2;
		if (ship1.getClass() == ship2.getClass())
		{
			return 0;
		}
		else
		{
			return 1;
		}
	}
}
